package com.jr.service.impl;


import com.jr.entity.City;
import com.jr.dao.CityDao;
import com.jr.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 市表
 *
 * @author Snoopy
 * @since 1.0.0 2022-12-31
 */
@Service
public class CityServiceImpl implements CityService {
    @Autowired
   private CityDao cityDao;

    @Override
    public List<City> getCitys(String pid) {
        List<City> selectcitys = cityDao.selectcitys(pid);
        return selectcitys;
    }
}